<template>
  <div id="loading" v-show="show">
    <div>{{ msg }}</div>
  </div>
</template>

<script>
export default {
  name: "",
  props: {
    show: Boolean,
    msg: String,
  },
  
};
</script>

<style scoped lang="scss">
#loading {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  div {
    background-color: rgba($color: #00000015, $alpha: 0.8);
    color: rgb(11, 243, 255);
    padding: 18px 20px;
    border-radius: 5px;
  }
}
</style>